import request from '@/utils/request'

// 查询留言列表
export function listTech(query) {
  return request({
    url: '/company/tech/list',
    method: 'get',
    params: query
  })
}

// 修改首页是否显示
export function updateStatus(id, status) {
  const data = {
    id,
    status
  }
  return request({
    url: '/company/tech/changeStatus',
    method: 'put',
    data: data
  })
}